<%@ page 
import="dk.itu.iwjx.beans.*"
errorPage="global/error.jsp" 
import="java.util.*"
%>   
<% String path = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort();%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -->
<title>Registration</title>
    <link type="text/css" href="asset/css/style.css" rel="Stylesheet" />
    <script type="text/javascript" src="asset/js/jquery.js"></script>
</head>
<body>

	<div id="register">

      <p>Please complete the registration</p>
		<form action="confirm.do" method="post">		
		<label>input code: 
		 <%= session.getAttribute("code") %>
		
		</label>	<br/>	
		<input type="text" name="replyCode">  <br/>		
		<input type="submit" value="submit" >
		</form>
      <p><%=path %></p>
      <div id="error"> 
      <% if(session.getAttribute("codeIsWrong")!= null){ %>
      <p>Please try it again!</p> 
      <%} %>
      </div>
	</div>     


</body>
</html>
